@import "../../../../assets/scss/mixin.scss";
.tabbar_container {
    display: flex;
    flex-direction: column;

    height: calc(100vh - 142px);

    color: #33302d;

    font-family: PingFangSC-Regular, PingFang SC;
    font-size: 14px;
    font-weight: 400;
    line-height: 14px;
    .content_card {
        display: flex;
        flex: 1;
        justify-content: space-between;

        padding: 24px;

        background-color: #fff;
        .left_card {
            overflow-y: auto;

            height: calc(100vh - 252px);
            .left_title {
                display: flex;
                align-items: center;

                margin-bottom: 12px;

                color: #33302d;

                font-family: PingFangSC-Medium, PingFang SC;
                font-size: 16px;
                font-weight: 500;
                &::before {
                    display: inline-block;

                    width: 4px;
                    height: 16px;
                    margin-right: 6px;

                    content: "";

                    background: #ff6b00;
                }
            }
            .left_title_tip {
                margin-bottom: 24px;

                color: #969696;

                font-size: 14px;
                font-weight: 400;
                line-height: 14px;
            }
            .left_content {
                .el-form {
                    .form_item_card {
                        position: relative;

                        width: 600px;
                        margin-bottom: 24px;
                        padding: 24px;

                        border: 1px solid #eaeaea;
                        border-radius: 4px;
                        background: #ffffff;
                        .el-form-item:last-child {
                            margin-bottom: 0;
                        }
                        .input_width_294 {
                            width: 294px;
                        }
                        .width_373 {
                            width: 373px;
                            // :deep(.el-form-item) {
                            //     .el-form-item__content {
                            //         .el-form-item__error {
                            //             display: none;
                            //         }
                            //     }
                            // }
                        }

                        .icon_btn_box {
                            position: absolute;
                            z-index: 10;
                            top: 16px;
                            right: 16px;

                            display: grid;

                            border-radius: 0 4px 0 4px;

                            grid-template-columns: repeat(3, 1fr);
                            grid-gap: 10px;
                            .delete_btn {
                                cursor: pointer;

                                font-size: 18px;
                            }
                            .disabled {
                                cursor: not-allowed;

                                color: #c5c5c5;
                            }
                            .top_btn {
                                padding: 2px;

                                cursor: pointer;

                                color: #33302d;
                                border: 1px solid #33302d;
                                border-radius: 50%;

                                font-size: 12px;
                            }
                            .bottom_btn {
                                padding: 2px;

                                cursor: pointer;

                                color: #33302d;
                                border: 1px solid #33302d;
                                border-radius: 50%;

                                font-size: 12px;
                            }
                        }
                        .upload_form_item {
                            display: flex;
                            :deep(.el-form-item) {
                                .el-form-item__label-wrap {
                                    margin-left: 0 !important;
                                }
                                .el-form-item__content {
                                    line-height: 1;
                                }
                                &:first-child {
                                    margin-right: 16px;
                                }
                            }
                            .select_icon_btn {
                                padding-top: 66px;
                                padding-left: 16px;

                                color: #ff6b00;

                                font-family: PingFangSC-Regular, PingFang SC;
                                font-size: 14px;
                                font-weight: 400;
                                line-height: 1;
                                span {
                                    cursor: pointer;
                                }
                            }
                        }
                        .upload_box {
                            .upload_btn {
                                display: grid;

                                width: 80px;
                                height: 80px;

                                border: 1px solid #eaeaea;
                                border-radius: 4px;

                                place-items: center;
                                .upload_img {
                                    width: 24px;
                                    height: 24px;

                                    font-size: 24px;
                                }
                                .upload_img_error {
                                    width: 24px;
                                    height: 24px;

                                    font-size: 24px;
                                }
                                .upload_img_placeholder {
                                    color: #969696;

                                    font-size: 24px;
                                }
                            }
                            .upload_name {
                                margin-top: 11px;

                                text-align: center;

                                color: #33302d;

                                font-family: PingFangSC-Regular, PingFang SC;
                                font-size: 14px;
                                font-weight: 400;
                                line-height: 14px;
                            }
                        }
                    }
                }
            }
        }
        .right_card {
            display: flex;
            flex: 1;
            justify-content: center;

            padding-left: 24px;
            .preview_box {
                display: flex;
                flex-direction: column;
                justify-content: space-between;

                width: 350px;
                height: calc(100vh - 300px);
                padding: 11px 0;

                background: #ffffff;
                box-shadow: 0px 3px 12px 0px #eaeaea;
                .top {
                    padding: 0 11px;
                    margin-bottom: 10px;
                    display: flex;
                    justify-content: space-between;
                    .time {
                        font-size: 14px;
                        color: #000;
                        line-height: 16px;
                    }
                    .icons {
                        img {
                            width: 15px;
                            height: 10px;
                            margin-right: 4px;

                            &:last-child {
                                width: 22px;
                                height: 11px;
                                margin-right: 0;
                            }
                        }
                    }
                }
                .nav_box {
                    position: relative;

                    display: flex;
                    justify-content: space-between;

                    padding: 0 11px;
                    .nav_title {
                        color: #333333;

                        font-family: PingFangSC-Medium, PingFang SC;
                        font-size: 12px;
                        font-weight: 500;
                        line-height: 31px;
                        @include text-ellipsis(1);
                    }
                    .nav_img {
                        img {
                            width: 53px;
                            height: 21px;
                            margin-bottom: 6px;

                            border: 1px solid #d8d8d8;
                            border-radius: 10px;
                            background: rgba(255, 255, 255, 0.5);
                        }
                    }
                    &::after {
                        position: absolute;
                        bottom: 0px;
                        left: 0;

                        width: 100%;
                        height: 1px;

                        content: "";

                        background: #eaeaea;
                    }
                }
                .main_box {
                    display: flex;
                    align-items: center;
                    flex: 1;
                    flex-direction: column;
                    justify-content: center;
                    .main_img {
                        img {
                            width: 209px;
                            height: 220px;

                            object-fit: cover;
                        }
                    }
                    .main_desc {
                        margin-top: 24px;
                        margin-bottom: 100px;

                        color: #999999;

                        font-family: PingFangSC-Regular, PingFang SC;
                        font-size: 14px;
                        font-weight: 400;
                        line-height: 20px;
                    }
                }
                .footer_box {
                    display: flex;
                    justify-content: space-around;

                    height: 43px;
                    padding: 3px 5px;

                    border-top: 1px solid #eaeaea;
                    .tabbar_item {
                        display: flex;
                        align-items: center;
                        flex-direction: column;
                        justify-content: space-between;

                        .tabbar_img_box {
                            line-height: 1;
                            .tabbar_img {
                                // width: 26px;
                                // height: 26px;
                                width: 24px;
                                height: 24px;
                            }
                            .tabbar_img_error {
                                // font-size: 26px;
                                // font-size: 18px;
                                font-size: 0;
                            }
                        }
                        .tabbar_name {
                            color: #333333;

                            font-family: PingFangSC-Regular, PingFang SC;
                            font-size: 12px;
                            font-weight: 400;
                            line-height: 12px;
                        }
                    }
                }
            }
        }
    }
    .footer_card {
        margin-top: 16px;
        margin-bottom: -14px;
        padding: 11px;

        text-align: center;

        background-color: #fff;
    }
    .icon_dialog {
        .icon_dialog_content {
            display: grid;

            grid-template-columns: repeat(4, 120px);
            grid-gap: 24px;
            .icon_item {
                padding: 20px 22px 15px;

                color: #33302d;
                border: 1px solid #eaeaea;
                &:hover {
                    cursor: pointer;

                    color: #ff6b00;
                    border-color: #ff6b00;
                    background-color: #fff9f8;
                }
                .icon_item_img {
                    display: flex;
                    justify-content: space-between;

                    margin-bottom: 20px;
                    .icon_img {
                        width: 26px;
                        height: 26px;
                    }
                    .icon_img_error {
                        color: #33302d;

                        font-size: 26px;
                    }
                }
                .icon_item_name {
                    text-align: center;

                    font-family: PingFangSC-Regular, PingFang SC;
                    font-size: 14px;
                    font-weight: 400;
                }
            }
            .active {
                color: #ff6b00;
                border-color: #ff6b00;
                background-color: #fff9f8;
            }
        }
    }
}
